import { createPinia } from 'pinia'
//引入数据持久储存插件
import piniaPluginPersist from 'pinia-plugin-persist'

const store = createPinia()
//使用插件
store.use(piniaPluginPersist)
//到处pinia
export default store